//
//  FSBaseViewController.h
//  FSiOSClient
//
//  Created by purlible on 2024/8/22.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface FSBaseViewController : UIViewController


- (void)back;

- (void)showLoadingHUD;
- (void)showLoadingHUDInWindow;

- (void)showLoadingHUD:(NSString*)text;
- (void)showLoadingHUDInWindow:(NSString*)text;
- (void)hideHUD;

- (void)showSuccess:(NSString *)text;
- (void)showSuccessInWindow:(NSString *)text;

- (void)showError:(NSString *)text;
- (void)showErrorInWindow:(NSString *)text;

- (void)showText:(NSString*)text;
- (void)showTextInWindow:(NSString*)text;

- (void)showNetworkError;
- (void)showNetworkErrorInWodinw;


@end

NS_ASSUME_NONNULL_END
